package com.chengyu.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chengyu.core.model.TyOrderComment;
import com.chengyu.core.model.TyOrderCommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TyOrderCommentMapper extends BaseMapper<TyOrderComment> {
    long countByExample(TyOrderCommentExample example);

    int deleteByExample(TyOrderCommentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TyOrderComment record);

    int insertSelective(TyOrderComment record);

    List<TyOrderComment> selectByExample(TyOrderCommentExample example);

    TyOrderComment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TyOrderComment record, @Param("example") TyOrderCommentExample example);

    int updateByExample(@Param("record") TyOrderComment record, @Param("example") TyOrderCommentExample example);

    int updateByPrimaryKeySelective(TyOrderComment record);

    int updateByPrimaryKey(TyOrderComment record);
}
